package com.limanyik.family.kernel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 亲戚成员桶表
 *
 * @author limanyi
 * @since 2022-01-24
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Data
@Accessors(chain = true)
@TableName("relative_bucket_info")
@ApiModel(value="RelativeBucketInfo对象", description="亲戚成员桶表")
public class RelativeBucketInfo {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private String id;

    @ApiModelProperty(value = "成员数量")
    @TableField("MEMBER_COUNT")
    private Integer memberCount;

    @ApiModelProperty(value = "是否公开关系图")
    @TableField("IS_OPEN_RELATION_PICTURE")
    private Integer isOpenRelationPicture;

    @ApiModelProperty(value = "状态CODE")
    @TableField("FAMILY_STATUS_CODE")
    private String familyStatusCode;

    @ApiModelProperty(value = "版本号")
    @TableField("VERSION")
    private String version;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_USER_ID")
    private String createUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "最后登录时间")
    @TableField("LAST_LOGIN_TIME")
    private LocalDateTime lastLoginTime;

    @ApiModelProperty(value = "是否删除")
    @TableField("DELETE_STATUS")
    private Integer deleteStatus;


    public static final String ID = "ID";

    public static final String MEMBER_COUNT = "MEMBER_COUNT";

    public static final String IS_OPEN_RELATION_PICTURE = "IS_OPEN_RELATION_PICTURE";

    public static final String FAMILY_STATUS_CODE = "FAMILY_STATUS_CODE";

    public static final String VERSION = "VERSION";

    public static final String CREATE_TIME = "CREATE_TIME";

    public static final String UPDATE_TIME = "UPDATE_TIME";

    public static final String LAST_LOGIN_TIME = "LAST_LOGIN_TIME";

    public static final String DELETE_STATUS = "DELETE_STATUS";

}
